WPAICG\Chat\Ajax\AIPKit_Chatbot_Index_Content_Ajax_Handler D

Total Complexity 135
Dependencies 11
Dependents 1
Total lines 644
Lines of code 467
Logical lines of code 304
Comment lines 69
Methods 22
Properties 6

Methods 22

Method Rating Maintainability Complexity Lines of code
_execute_indexing_process()
A
39 15 58
_determine_vector_config()
A
45 13 38
ajax_start_content_indexing()
A
47 13 30
_determine_embedding_config()
A
48 12 34
_create_vector_store()
A
47 11 30
_cleanup_indexing_process()
S
48 7 30
_analyze_setup()
S
49 7 27
_get_all_indexable_content_types()
S
51 7 24
_update_bot_vector_settings()
S
52 6 24
_index_single_post()
S
51 6 23
ajax_analyze_express_setup()
S
53 6 20
__construct()
S
57 6 18
ajax_check_indexing_status()
S
55 6 17
ajax_get_indexing_progress()
S
54 5 19
ajax_cancel_content_indexing()
S
58 4 14
_get_process_progress()
S
55 3 18
_generate_vector_store_name()
S
65 3 8
_start_indexing_process()
S
55 1 18
process_content_indexing()
S
76 1 4
_update_process_data()
S
78 1 3
_cancel_indexing_process()
S
78 1 3
_get_posts_to_index()
S
67 1 7